package com.hc.dfs.fragment.contact;

import com.hc.dfs.activity.R;

import android.database.DataSetObserver;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Adapter;
import android.widget.ArrayAdapter;
import android.widget.ListView;

/** 
 * @author 王洪胜  E-mail:  
 * @version 创建时间：2013-3-13 上午7:57:18
 * 
 * 类说明：
 *
 */
public class MemberFragment extends Fragment {

	private static String[] members= new String[]{
		"张永琳","邵辉","李小龙","詹庆辉","王筱迎","吕杰","庞默","赵薇薇","李少强"
	};
	private ListView list;
	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub+
		super.onActivityCreated(savedInstanceState);
		list = (ListView) getActivity().findViewById(R.id.list);
		list.setAdapter(new ArrayAdapter<String>(getActivity(), android.R.layout.simple_list_item_1, members));
	}

	void addData(){
	}
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		return inflater.inflate(R.layout.contact_member_list, container, false);
	}

	@Override
	public void onPause() {
		// TODO Auto-generated method stubS
		super.onPause();
	}

}
